package com.java.action;

import java.util.List;

import com.java.pojo.ComEmp;
import com.java.service.IEmpService;

public class EmpAddAction {

	private IEmpService empService;
	private ComEmp emp;

	public String execute() {
		String log = empService.addEmpLog(emp);
		return "success";
	}




	public IEmpService getEmpService() {
		return empService;
	}
	public void setEmpService(IEmpService empService) {
		this.empService = empService;
	}
	public ComEmp getEmp() {
		return emp;
	}

	public void setEmp(ComEmp emp) {
		this.emp = emp;
	}
}
